ga.view.factory
Class SceneFactory

java.lang.Object
  extended by ga.view.factory.SceneFactory

public final class SceneFactory
extends java.lang.Object

Utility class for scene related functions.

Since:
11.08.2012
Author:
Stephan Dreyer

Constructor Summary
private SceneFactory()
          Instantiation is not allowed.
 
Method Summary
static com.jme3.bullet.collision.shapes.CollisionShape getCollisionShape(com.jme3.scene.Geometry geometry)
          Gets the collision shape for a geometry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SceneFactory

private SceneFactory()
Instantiation is not allowed.

Since:
11.08.2012
Method Detail

getCollisionShape

public static com.jme3.bullet.collision.shapes.CollisionShape getCollisionShape(com.jme3.scene.Geometry geometry)
Gets the collision shape for a geometry.

Parameters:
geometry - The geometry.
Returns:
The fitted collision shape.
Since:
12.08.2012